package com.petshop.service;

import com.petshop.pojo.Follow;
import com.baomidou.mybatisplus.extension.service.IService;
import com.petshop.utils.Result;

/**
* @author 20289
* @description 针对表【tb_follow】的数据库操作Service
* @createDate 2025-04-04 22:58:19
*/
public interface FollowService extends IService<Follow> {

    /**
     * 关注和取消关注的方法
     * @param followUserId
     * @param isFollow
     * @return
     */
    Result follow(Long followUserId, Boolean isFollow);

    /**
     * 判断是否关注
     * @param followUserId
     * @return
     */
    Result isFollow(Long followUserId);
}
